package com.yuan.studemo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author Yuan
 * @since 2022-05-17
 */
@Getter
@Setter
@TableName("stu_user")
@ApiModel(value = "User对象", description = "")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("id")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("学生姓名")
      private String stuName;

      @ApiModelProperty("学号")
      private Integer stuId;

      @ApiModelProperty("密码")
      private String password;

      @ApiModelProperty("性别")
      private String sex;

      @ApiModelProperty("联系电话")
      private Integer phone;

      @ApiModelProperty("班级")
      private String grade;


}
